package com.object;

public class Login {
    private String username;
    private String password;

    //构造函数重载
    public Login(){};
    public Login(String username,String password){
        this.username = username;
        this.password = password;
    }

    //成员变量赋值
    public void setUsername(String username) {
        this.username = username;
    }

    public String getUsername() {
        return username;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPassword() {
        return password;
    }


}
